package org.jeecg.modules.inventory.service.impl;

import org.jeecg.modules.inventory.entity.BussInventoryPurchaseOrder;
import org.jeecg.modules.inventory.mapper.BussInventoryPurchaseOrderMapper;
import org.jeecg.modules.inventory.service.IBussInventoryPurchaseOrderService;
import org.jeecg.modules.inventory.vo.BussInventoryPurchaseOrderVo;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 库存关联采购订单
 * @Author: jeecg-boot
 * @Date:   2024-07-02
 * @Version: V1.0
 */
@Service
public class BussInventoryPurchaseOrderServiceImpl extends ServiceImpl<BussInventoryPurchaseOrderMapper, BussInventoryPurchaseOrder> implements IBussInventoryPurchaseOrderService {
	
	@Autowired
	private BussInventoryPurchaseOrderMapper bussInventoryPurchaseOrderMapper;
	
	@Override
	public List<BussInventoryPurchaseOrderVo> selectByMainId(String warehouseId,String materialId) {
		return bussInventoryPurchaseOrderMapper.selectByMainId(warehouseId,materialId);
	}
}
